From e6e9762beb7b752dc9141ddcb9aa93626a0a1a76 Mon Sep 17 00:00:00 2001 From: "tdeegan@york.uk.xensource.com" Date: Wed, 16 Aug 2006 17:05:12 +0100 Subject: [PATCH] Temporarily disable shutdown-on-HLT code. --- xen/arch/x86/hvm/hvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 6ffbf751f9..0b2da6d439 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -351,6 +351,7 @@ void hvm_hlt(unsigned long rflags) struct periodic_time *pt = &v->domain->arch.hvm_domain.pl_time.periodic_tm; s_time_t next_pit = -1, next_wakeup; +#if 0 /* This seems to fire at unwelcome times in Linux */ /* * Detect machine shutdown. Only do this for vcpu 0, to avoid potentially * shutting down the domain early. If we halt with interrupts disabled, @@ -364,6 +365,7 @@ void hvm_hlt(unsigned long rflags) domain_shutdown(current->domain, SHUTDOWN_poweroff); return; } +#endif /* 0 */ if ( !v->vcpu_id ) next_pit = get_scheduled(v, pt->irq, pt); -- 2.30.2